package com.rain.models.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

@Data
public class Account extends Model<Account> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField("loginName")
    private String loginName;

    @TableField("password")
    private String password;

    @TableField("loginPhone")
    private String loginPhone;

    @TableField("deleteFlag")
    private Integer deleteFlag;
}
